package com.IoLiu;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class TuPian {
    public static void main(String[] args) throws IOException {
        FileInputStream fi=new FileInputStream("D:\\下载\\file\\图片.jpg");
        FileOutputStream fo=new FileOutputStream("D:\\下载\\file\\file1\\图片.jpg");
        int len;
        while((len=fi.read())!=-1){
            fo.write(len);
        }
        fo.close();
        fi.close();
    }
}
